package com.zbkj.common.model.shop;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 广告投放订单
 *
 */
@Data
@TableName("ad_points.ad_order_advertising")
public class OrderAdvertising implements Serializable {

    private static final long serialVersionUID = 180871946191905427L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 联系人电话
     */
    private String phone;

    /**
     * 联系人
     */
    private String userName;
    /**
     * 格子数
     */
    private Integer lattice;

    // 规格分类ID
    private Long bagSpecsCatId;


    /**
     * 载体规格id
     */
    private Long bagSpecsId;
    /**
     * 商家名称
     */
    private String principalName;
    /**
     * 订单号
     */
    private String orderSn;
    /**
     * 套餐的id
     */
    private Long orderPackageId;
    /**
     * 总流量数
     */
    private Integer flowNumber;
    /**
     * 剩余流量
     */
    private Integer flowRemaining;
    /**
     * 投放类型 00-同一活动
     */
    private String dropType;
    /**
     * 投放地区
     */
    private String dropAddress;
    /**
     * 投放经度
     */
    private BigDecimal dropLongitude;
    /**
     * 投放纬度
     */
    private BigDecimal dropLatitude;
    /**
     * 实付金额
     */
    private BigDecimal payerAmount;
    /**
     * 订单金额
     */
    private BigDecimal amount;

    /**
     * 订单定金金额
     */
    private BigDecimal amountAdvance;

    /**
     * 订单确认设计稿金额
     */
    private BigDecimal amountMiddle;

    /**
     * 订单尾款金额
     */
    private BigDecimal amountEnd;

    /**
     * 实付定金金额
     */
    private BigDecimal payerAmountAdvance;
    /**
     * 实付定金金额
     */
    private BigDecimal payerAmountMiddle;
    /**
     * 实付定金金额
     */
    private BigDecimal payerAmountEnd;

    /**
     * 文案
     */
    private String selectedCopyWrite;
    /**
     * 广告图片
     */
    private String selectedPicture;

    /**
     * 订单状态
     */
    private String status;

    /**
     * 业务员
     */
    private Long salesmanId;

    /**
     * 商品id
     */
    private Long productId;
    /**
     * 主营分类（外键）
     */
    private Long businessCatId;
    /**
     * 主营分类
     */
    private String businessCatName;
    /**
     * 省
     */
    private String province;
    /**
     * 省码
     */
    private Integer provinceCode;
    /**
     * 城市
     */
    private String city;
    /**
     * 城市码
     */
    private Integer cityCode;
    /**
     * 区县
     */
    private String area;
    /**
     * 区县码
     */
    private Integer areaCode;

    /**
     * 优惠券
     */
    private BigDecimal userCouponId;


    /**
     * 商户商品上下架权限累加标识
     */
    private Boolean cumulativeFlag;

    private String reason;
    /**
     * 申请退款标志
     */
    private String refundStatus;

    /**
     * 导师精灵ID
     */
    private Long instructorId;

    /**
     * 营销精灵ID
     */
    private Long marketingEliteId;

    /**
     * 渠道精灵ID
     */
    private Long channelEliteId;

    private Long designColor;
    private Long designLayout;
    private Long designStyle;
    private Long adType;

    private String age;
    private String hobbies;
    private Long consume;
    private String sex;

    private String otherIntro;

    private String productIntro;

    private String brandLogo;

    private String productImage;

    private String referenceExampleImage;

    private Long merchantId;

    private String platform;

    //    当领载体商家上传领载体视频时，触发标志位修改
    private String isSale;

    private Integer merType;
    //订单创建时间
    private Date createTime;

//    /**
//     * 30天结算总利润
//     */
//    @ExcelProperty(value = "30天结算总利润")
//    private BigDecimal totalProfit;
//
//    @ExcelProperty(value = "是否结算标志位 0未结算 1已结算")
//    private String isJiesuan;
}
